public class Star {

    int id;
    double magnitude, period;

    Star(int ID, double magnitude, double period) {
        this.id = ID;
        this.magnitude = magnitude;
        this.period = period;
    }
}